package teaching.controller.weixin;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
//@RequestMapping(value="weixin")
public class ChangepwdController {
	@RequestMapping(value="changepwd")
	 @ResponseBody
    public Map<String,Object> changepwd(HttpServletRequest request,HttpServletResponse response){
    	Map<String,Object> map = new HashMap<String, Object>();
    	String userId = request.getParameter("userId");
    	String userPs = request.getParameter("userPs");
    	map.put("message", "密码");
    	return map;
    }
}
